#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QToolButton>
#include <QPushButton>
#include <QButtonGroup>

#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QStackedWidget>

#include "RobotControlWidget/robotcontrolwidget.h"
#include "VisionMonitorWidget/visionmonitorwidget.h"

//选项卡
class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    void setUI();

private slots:
    void option_btn_clicked(int id);

private:
    QStackedWidget *func_pages;
};
#endif // WIDGET_H
